//
//  BaseTableViewHeaderFooterView.h
//  智云网校
//
//  Created by 毕武侠 on 2017/6/1.
//  Copyright © 2017年 bwx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseSectionModel.h"

@protocol HeaderFooterDelegate <NSObject>

@optional
- (void)headerFooterView:(UITableViewHeaderFooterView *)headView didActionAtSection:(NSUInteger)section;
- (void)headerFooterView:(UITableViewHeaderFooterView *)headView didActionAtSection:(NSUInteger)section infoData:(id)data;

@end


@interface BaseTableViewHeaderFooterView : UITableViewHeaderFooterView

@property (nonatomic, assign) NSUInteger section;
@property (nonatomic, weak)  id<HeaderFooterDelegate> delegate;

- (void)bindModel:(BaseSectionModel *)model;

@end
